# _*_ coding : utf-8 _*_
# @Time : 2024-05-29 10:54
# @Author : haowen
# @File : 4.绘制矩形
# @Project : face identifying
import cv2 as cv

img = cv.imread("image/1.JPG")

x,y,w,h = 100, 100, 100, 100
cv.rectangle(img,(x,y,x+w,y+h),color=(0,0,255),thickness=1)
cv.circle(img,center=(x+w,y+h),radius=100,color=(255,0,0),thickness=2)

cv.imshow("image",img)

while True:
    if ord('q') == cv.waitKey(0):
        break

cv.destroyAllWindows()